<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class InviteListRequest extends BaseRequest
{

    public function rules()
    {
        return [
            'from' => 'required|in:1,2',
            'page' => '',
            'pagesize' => '',
        ];
    }

    public function attributes()
    {
        return [
            'from' => '直推间推',
            'page' => '',
            'pagesize' => '',
        ];
    }
}
